/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.pku.sei.ocl.adapter.xmlecore;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>EXML Element</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link edu.pku.sei.ocl.adapter.xmlecore.EXMLElement#getTagName <em>Tag Name</em>}</li>
 *   <li>{@link edu.pku.sei.ocl.adapter.xmlecore.EXMLElement#getAttributes <em>Attributes</em>}</li>
 * </ul>
 * </p>
 *
 * @see edu.pku.sei.ocl.adapter.xmlecore.XmlecorePackage#getEXMLElement()
 * @model
 * @generated
 */
public interface EXMLElement extends EXMLNode {
	/**
	 * Returns the value of the '<em><b>Tag Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Tag Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Tag Name</em>' attribute.
	 * @see #setTagName(String)
	 * @see edu.pku.sei.ocl.adapter.xmlecore.XmlecorePackage#getEXMLElement_TagName()
	 * @model
	 * @generated
	 */
	String getTagName();

	/**
	 * Sets the value of the '{@link edu.pku.sei.ocl.adapter.xmlecore.EXMLElement#getTagName <em>Tag Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Tag Name</em>' attribute.
	 * @see #getTagName()
	 * @generated
	 */
	void setTagName(String value);

	/**
	 * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
	 * The list contents are of type {@link edu.pku.sei.ocl.adapter.xmlecore.EXMLAttribute}.
	 * It is bidirectional and its opposite is '{@link edu.pku.sei.ocl.adapter.xmlecore.EXMLAttribute#getOwnerElement <em>Owner Element</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Attributes</em>' containment reference list.
	 * @see edu.pku.sei.ocl.adapter.xmlecore.XmlecorePackage#getEXMLElement_Attributes()
	 * @see edu.pku.sei.ocl.adapter.xmlecore.EXMLAttribute#getOwnerElement
	 * @model opposite="ownerElement" containment="true"
	 * @generated
	 */
	EList<EXMLAttribute> getAttributes();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	String getAttribute(String name);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	String getAttributeNS(String namespaceURI, String localName);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void setAttribute(String name, String value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void setAttributeNS(String namespaceURI, String localName, String value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	EXMLAttribute getAttributeNode(String name);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	EXMLAttribute getAttributeNodeNS(String namespaceURI, String localName);

} // EXMLElement
